<style type="text/css">
    .sm-st {
        background: #fff;
        /*padding: 20px;*/
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        margin-bottom: 20px;
    }

    .sm-st-icon {
        width: 50px;
        height: 50px;
        display: inline-block;
        line-height: 50px;
        text-align: center;
        font-size: 30px;
        background: #eee;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        float: left;
        margin-right: 10px;
        color: #fff;
    }

    .sm-st-info {
        /*padding-top: 2px;*/
        white-space:nowrap;
    }

    .sm-st-info span {
        display: block;
        font-size: 16px;
        font-weight: 600;
    }

    .orange {
        background: #fa8564 !important;
    }

    .tar {
        background: #45cf95 !important;
    }

    .sm-st .green {
        background: #86ba41 !important;
    }

    .pink {
        background: #AC75F0 !important;
    }

    .yellow-b {
        background: #fdd752 !important;
    }

    .stat-elem {

        background-color: #fff;
        padding: 18px;
        border-radius: 40px;

    }

    .stat-info {
        text-align: center;
        background-color: #fff;
        border-radius: 5px;
        margin-top: -5px;
        padding: 8px;
        -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        font-style: italic;
    }

    .stat-icon {
        text-align: center;
        margin-bottom: 5px;
    }

    .st-red {
        background-color: #F05050;
    }

    .st-green {
        background-color: #27C24C;
    }

    .st-violet {
        background-color: #7266ba;
    }

    .st-blue {
        background-color: #23b7e5;
    }

    .stats .stat-icon {
        color: #28bb9c;
        display: inline-block;
        font-size: 26px;
        text-align: center;
        vertical-align: middle;
        width: 50px;
        float: left;
    }

    .stat {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }

    .stat .value {
        font-size: 20px;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
    }

    .stat .name {
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 5px 0;
    }

    .stat.lg .value {
        font-size: 26px;
        line-height: 28px;
    }

    .stat-col {
        margin:0 0 10px 0;
    }
    .stat.lg .name {
        font-size: 16px;
    }

    .stat-col .progress {
        height: 2px;
    }

    .stat-col .progress-bar {
        line-height: 2px;
        height: 2px;
    }

    .item {
        padding: 30px 0;
    }


    #statistics .panel {
        min-height: 150px;
    }

    #statistics .panel h5 {
        font-size: 14px;
    }
    .title {
        padding-bottom: 20px;
        /*font-size: 20px;
        font-weight: 600;*/
    }
    .title1 {
        padding-bottom: 20px;
        font-size: 20px;
        font-weight: 600;
    }
    .block-box {
        margin-top: 30px;
        padding: 10px;
        border: 1px solid #f2f2f2;
        border-radius: 5px;
    }
    .city-picker-span{
        overflow: hidden;
    }
</style>
<div class="panel panel-default panel-intro">
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="block-box">
                    <form id="add-form1" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
                        <div class="row">
                            <div class="title1 col-sm-2 col-xs-6">今日概况</div>
                            <label class="control-label col-xs-6 col-sm-1">选择区域:</label>
                            <div class="col-sm-2 col-xs-6">
                                <div class="sm-st clearfix">
                                    <input id="c-jrgk_city" class="form-control" placeholder="请选择省/市/区" data-responsive="true" data-level="area"  data-toggle="city-picker" name="area" type="text" value="" />
                                </div>
                            </div>
                            <label class="control-label col-xs-6 col-sm-1">选择日期:</label>
                            <div class="col-sm-2 col-xs-6">
                                <div class="sm-st clearfix">
                                    <input id="c-jrgk_date" type="text" class="form-control datetimerange" placeholder="指定日期" value="" name="date" />
                                </div>
                            </div>
                            {if $auth_group_access.group_id!=3}
                            <label class="control-label col-xs-6 col-sm-1">选择员工:</label>
                            <div class="col-sm-2 col-xs-6">
                                <select  id="c-jrgk_salesman_admin_id" class="form-control selectpicker" name="row[salesman_admin_id]">
                                    <option value="">请选择</option>
                                    {foreach name="salesmanList" item="vo"}
                                        <option value="{$vo.id}">{$vo.nickname}</option>
                                    {/foreach}
                                </select>
                            </div>
                            {/if}
                            <button id="button1" type="button" class="btn btn-danger">查看</button>
                        </div>
                    </form>
                    <div class="row">
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-violet"><i class="fa fa-user-circle"></i></span>
                                <div class="sm-st-info">
                                    <span id="jrgk_xzyxdp">{$jrgk.xzyxdp}</span>
                                    新增店铺在线率
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-blue"><i class="fa fa-user-circle"></i></span>
                                <div class="sm-st-info">
                                    <span id="jrgk_zxdp">{$jrgk.zxdp}</span>
                                    在线店铺
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-green"><i class="fa fa-user-circle"></i></span>
                                <div class="sm-st-info">
                                    <span id="jrgk_mexh">{$jrgk.mexh}</span>
                                    消耗/名额
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-red"><i class="fa fa-user-circle"></i></span>
                                <div class="sm-st-info">
                                    <span id="jrgk_xtlr">{$jrgk.xtlr}</span>
                                    平台服务费
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-violet"><i class="fa fa-user-circle"></i></span>
                                <div class="sm-st-info">
                                    <span id="jrgk_sjsy">{$jrgk.sjsy}</span>
                                    业务收益
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-blue"><i class="fa fa-user-circle"></i></span>
                                <div class="sm-st-info">
                                    <span id="jrgk_jjrsy">{$jrgk.jjrsy}</span>
                                    经纪人收益
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-green"><i class="fa fa-user-circle"></i></span>
                                <div class="sm-st-info">
                                    <span id="jrgk_dzfje">{$jrgk.dzfje}</span>
                                    待支付金额
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-red"><i class="fa fa-user-circle"></i></span>
                                <div class="sm-st-info">
                                    <span id="jrgk_ptfwf">{$jrgk.ptfwf}</span>
                                    技术服务费
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="block-box">
                    <form id="add-form2" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
                        <div class="row">
                            <div class="title1 col-sm-2 col-xs-6">销单概况</div>
                            <label class="control-label col-xs-6 col-sm-1">选择区域:</label>
                            <div class="col-sm-2 col-xs-6">
                                <div class="sm-st clearfix">
                                    <input id="c-bygk_city" class="form-control" placeholder="请选择省/市/区" data-responsive="true" data-level="area"  data-toggle="city-picker" name="area" type="text" value="" />
                                </div>
                            </div>
                            <label class="control-label col-xs-6 col-sm-1">选择日期:</label>
                            <div class="col-sm-2 col-xs-6">
                                <div class="sm-st clearfix">
                                    <input id="c-bygk_date" type="text" class="form-control datetimerange" placeholder="指定日期" value="" name="date" />
                                </div>
                            </div>
                            {if $auth_group_access.group_id!=3}
                            <label class="control-label col-xs-6 col-sm-1">选择员工:</label>
                            <div class="col-sm-2 col-xs-6">
                                <select  id="c-bygk_salesman_admin_id" class="form-control selectpicker" name="row[salesman_admin_id]">
                                    <option value="">请选择</option>
                                    {foreach name="salesmanList" item="vo"}
                                        <option value="{$vo.id}">{$vo.nickname}</option>
                                    {/foreach}
                                </select>
                            </div>
                            {/if}
                            <button id="button2" type="button" class="btn btn-danger">查看</button>
                        </div>
                    </form>
                    <div id="xd">
                        {foreach name="channels" item="vo" key="k"}
                        {if $k%6==0}
                        <div class="row" >
                        {/if}
                            <div class="col-sm-2 col-xs-6">
                                <div class="sm-st clearfix">
                                    <span class="sm-st-icon st-green" style="margin-top: 8px;"><i class="fa fa-user-circle"></i></span>
                                    <div class="sm-st-info">
                                        <p style="margin: 0 0 0px;">{$vo.yxd}/{$vo.zl} ({$vo.xdbfb}%)</p>
                                        <p style="margin: 0 0 0px;">金额：{$vo.dsje}/{$vo.dfje}</p>
                                        <p style="margin: 0 0 0px;">渠道：{$vo.name}</p>
                                    </div>
                                </div>
                            </div>
                        {if $k%6==5}
                        </div>
                        {/if}
                        {/foreach}
                    </div>
                </div>
                {if $isywy==0}
                <div class="block-box">
                    <form id="add-form3" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
                        <div class="row">
                            <div class="title1 col-sm-2 col-xs-6">渠道结算</div>
                            <label class="control-label col-xs-6 col-sm-1">选择日期:</label>
                            <div class="col-sm-2 col-xs-6">
                                <div class="sm-st clearfix">
                                    <input id="c-qdjs_date" type="text" class="form-control datetimerange" placeholder="指定日期" value="" name="date" />
                                </div>
                            </div>
                            <button id="button3" type="button" class="btn btn-danger">查看</button>
                        </div>
                    </form>
                    <div id="qdjs">
                        {foreach name="ywy" item="vo" key="k"}
                        {if $k%6==0}
                        <div class="row" >
                        {/if}
                            <div class="col-sm-2 col-xs-6">
                                <div class="sm-st clearfix">
                                    <span class="sm-st-icon st-green" style="margin-top: 8px;"><i class="fa fa-user-circle"></i></span>
                                    <div class="sm-st-info">
                                        <p style="margin: 0 0 0px;">{$vo.yxd}/{$vo.zl} ({$vo.xdbfb}%)</p>
                                        <p style="margin: 0 0 0px;">金额：{$vo.dsje}/{$vo.dfje}</p>
                                        <p style="margin: 0 0 0px;">渠道业务员：{$vo.nickname}</p>
                                    </div>
                                </div>
                            </div>
                        {if $k%6==5}
                        </div>
                        {/if}
                        {/foreach}
                    </div>
                </div>
                {/if}
            </div>
        </div>
    </div>
</div>
